package com.untrance.shop.common.vo.wrapper;

import java.io.Serializable;
import java.util.List;

import com.untrance.shop.common.vo.ProductVO;

/**
 * @author eugene zadyra
 */
public class ProductVOWrapper implements Serializable{

	private static final long serialVersionUID = 1L;
	private List<ProductVO> products;
	private int count;
	private int page;
	private int itemsPerPage;
	
	public ProductVOWrapper(){}
	public ProductVOWrapper(List<ProductVO> products, int count, int page, int itemsPerPage){
		this.products=products;
		this.count=count;
		this.page=page;
		this.setItemsPerPage(itemsPerPage);
	}

	public void setProducts(List<ProductVO> products) {
		this.products = products;
	}

	public List<ProductVO> getProducts() {
		return products;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getCount() {
		return count;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPage() {
		return page;
	}
	public void setItemsPerPage(int itemsPerPage) {
		this.itemsPerPage = itemsPerPage;
	}
	public int getItemsPerPage() {
		return itemsPerPage;
	}

}
